package com.dci.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;

/**
 * All rights Reserved, Designed By www.chinadci.com
 *
 * @version V1.0
 * @Title: null.java
 * @Package com.dci.config
 * @Description: 注册MappingJackson2HttpMessageConverter
 * @author: dci-许高峰
 * @date: 2018/12/20 15:59
 * @Copyright: 2018 www.chinadci.com. All rights reserved.
 * 注意：本内容仅限于广州城市信息研究所南京分公司内部传阅，禁止外泄以及用于其他的商业目
 */
@Configuration
public class JsonMessage {

    @Bean
    public MappingJackson2HttpMessageConverter jsonMessageConverter() {
        return new MappingJackson2HttpMessageConverter();
    }

}
